Invalidate
TheInvalidate
method marks the specified area in this frame as in need of updating.
void Invalidate (in ODShape invalidShape, in ODCanvas biasCanvas);
invalidShape
- A reference to the shape object defining the area in this frame that needs updating, expressed in frame coordinates.
biasCanvas
kODNULL
if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.DISCUSSION
Your part calls this method to explicitly invalidate a portion of its display frame. This method in turn calls theInvalidate
method associated with each of this frame's facets. The resulting invalid shape is transformed and clipped to the coordinate space of each facet's canvas.SEE ALSO
TheODCanvas::Invalidate
method (page 75).
TheODFacet::Invalidate
method (page 250).
TheODFrame::Validate
method (page 341).
Listing 2-14 on page 61 in OpenDoc Cookbook.
Listing 2-19 on page 71 in OpenDoc Cookbook.
"Invalidating and Validating Your Content" on page 160 in OpenDoc Programmer's Guide.
"Drawing to an Offscreen Canvas" on page 168 in OpenDoc Programmer's Guide.
"Invalidating and Updating" on page 214 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help